/**
 * 
 */
package org.vsg.common.biz.uid;

/**
 * @author Bill vison
 *
 */
public interface UnifiedIDProvider {
	
	/**
	 * 
	 * @param algorithm
	 */
	public void setAlgorithm(String algorithm);
	
	/**
	 * 
	 * @return
	 */
	public String getAlgorithm();
	
	/**
	 * set the length of UID , default value is 50
	 * @param length
	 */
	public boolean isSupportAlgorithm();
	
	/**
	 * get uuid or guid
	 * @return
	 */
	public String getUid();
	
	

}
